// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router/index'
import config from './config'
import store from './store/index'

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
});





















// const socket = io(config.socketUrl);

// socket.on('connect',()=>{
//   console.log('connect ' + socket.id);

//   appendText("连接成功 " + socket.id);
// });


// function appendText(strText){
//   //var p = document.createElement("p");
//   //p.innerText = strText;
//   debugger;
//   //document.getElementById("message").appendChild(p);

//   console.log(strText);
// }